package com.jt.yygh.hospital.service;

import com.jt.yygh.hospital.entity.hosp.Department;
import org.springframework.data.domain.Page;

import java.util.Map;

/**
 * @author jiang tao
 * @date 2022/3/1
 * @description:
 **/
public interface DepartmentService {
    /**
     * 保存科室信息
     * @param paramMap
     */
    void save(Map<String, Object> paramMap);

    /**
     * 根据hoscode和depcode获取Department
     * @param departmentQuery
     * @return
     */
    Page<Department> getDepartmentsByHoscodeAndDepcode(Map<String, Object> departmentQuery);

    /**
     * 移除科室
     * @param hoscode
     * @param depcode
     */
    void remove(String hoscode, String depcode);
}
